﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Configuration;

namespace AMing.Mvc4.Data
{
    public class Config
    {
        private static string _imageHostName = WebConfigurationManager.AppSettings["ImageHostName"];
        /// <summary>
        /// 图片域名 
        /// </summary>
        public static string ImageHostName
        {
            get
            {
#if DEBUG
                return "";
#endif
                return _imageHostName;
            }
            set { _imageHostName = value; }
        }


        private static string _pageHtmlDataFilePath = WebConfigurationManager.AppSettings["PageHtmlDataFilePath"];
        /// <summary>
        /// PageHtml数据路径 
        /// </summary>
        public static string PageHtmlDataFilePath
        {
            get
            {
                return _pageHtmlDataFilePath;
            }
            set { _pageHtmlDataFilePath = value; }
        }
    }
}
